package my.graduation.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import my.graduation.entity.Doctor;

/**
 * @Author: RavenLyn
 * @Date: 2025-02-27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DoctorExamVO {
    private Integer id; //doctorId

    private Integer examScheId;

    private String name;

    private Integer title;

    private String researchField;

    private String avatar;

    private Integer shift;

    public DoctorExamVO(Doctor doctor, Integer shift, Integer examScheId) {
        this.id = doctor.getId();
        this.examScheId = examScheId;
        this.name= doctor.getName();
        this.title= doctor.getTitle();
        this.researchField= doctor.getResearchField();
        this.avatar= doctor.getAvatar();
        this.shift = shift;
    }
}
